#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif


void Test1()
{
    // 通过定义临时对象，来完成方法的调用
    int ret = Solution().uniquePaths(3,7);
    if(ret == 28){
        std::cout << "通过 [用例1] : 3,7 " << std::endl;
    }
    else{
        std::cout << "失败 [用例1] : 3,7 "  << std::endl;
    }
}

void Test2()
{
    int ret = Solution().uniquePaths(3,2);
    if(ret==3){
        std::cout << "通过 [用例2] : 3,2 " << std::endl;
    }
    else{
        std::cout << "失败 [用例2] : 3,2 "  << std::endl;
    }
}

void Test3()
{
    int ret = Solution().uniquePaths(7,3);
    if(ret==28){
        std::cout << "通过 [用例3] : 7,3 " << std::endl;
    }
    else{
        std::cout << "失败 [用例3] : 7,3 "  << std::endl;
    }
}
void Test4()
{
    int ret = Solution().uniquePaths(3,3);
    if(ret==6){
        std::cout << "通过 [用例4] : 3,3 " << std::endl;
    }
    else{
        std::cout << "失败 [用例4] : 3,3 "  << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
    Test3();
    Test4();

    return 0;
}